package com.cgbl.service.pop

import android.content.Context
import android.view.View
import com.cgbl.service.R
import com.lxj.xpopup.core.AttachPopupView
import com.lxj.xpopup.core.BottomPopupView
import com.lxj.xpopup.impl.PartShadowPopupView
import com.robot.base.configs.AppConstants
import com.robot.base.util.arouter.ARouterUtil

class MessageFunctionPop(
    context: Context,
) : AttachPopupView(context) {

    override fun getImplLayoutId(): Int {
        return R.layout.app_pop_message_function
    }

    override fun initPopupContent() {
        super.initPopupContent()

        findViewById<View>(R.id.tv_add_member).setOnClickListener {
            ARouterUtil.goToActivity(AppConstants.Router.Project.A_ADD_MEMBER)
        }
        findViewById<View>(R.id.tv_group_chat).setOnClickListener {
            ARouterUtil.goToActivity(AppConstants.Router.Project.A_SELECT_TEAM)
        }
    }

}